﻿namespace ClassLibrary.BusinessLayer.BusinessObjects
{
    using System;

    [Serializable, ClassTable("ProjectSupervisor", true)]
    public class ProjectSupervisor2 : ParentTableClass
    {
        private DateTime DatCreateDate;
        private DateTime DatUpdateDate;
        private string strCreateBy = string.Empty;
        private string strOwnerGroupID = string.Empty;
        private string strProjectCode = string.Empty;
        private string strResponsiblePerson = string.Empty;
        private string strUpdateBy = string.Empty;

        [ClassProperty(false, false, false, false, false, "CreateBy", "@CreateBy", ClassPropertyAttribute.DBTypes.Varchar)]
        public string CreateBy
        {
            get
            {
                return this.strCreateBy;
            }
            set
            {
                this.strCreateBy = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "CreateDate", "@CreateDate", ClassPropertyAttribute.DBTypes.DateTime)]
        public DateTime CreateDate
        {
            get
            {
                return this.DatCreateDate;
            }
            set
            {
                this.DatCreateDate = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "OwnerGroupID", "@OwnerGroupID", ClassPropertyAttribute.DBTypes.Varchar)]
        public string OwnerGroupID
        {
            get
            {
                return this.strOwnerGroupID;
            }
            set
            {
                this.strOwnerGroupID = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "ProjectCode", "@ProjectCode", ClassPropertyAttribute.DBTypes.Varchar)]
        public string ProjectCode
        {
            get
            {
                return this.strProjectCode;
            }
            set
            {
                this.strProjectCode = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "ResponsiblePerson", "@ResponsiblePerson", ClassPropertyAttribute.DBTypes.Varchar)]
        public string ResponsiblePerson
        {
            get
            {
                return this.strResponsiblePerson;
            }
            set
            {
                this.strResponsiblePerson = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "UpdateBy", "@UpdateBy", ClassPropertyAttribute.DBTypes.Varchar)]
        public string UpdateBy
        {
            get
            {
                return this.strUpdateBy;
            }
            set
            {
                this.strUpdateBy = value;
            }
        }

        [ClassProperty(false, false, false, false, false, "UpdateDate", "@UpdateDate", ClassPropertyAttribute.DBTypes.DateTime)]
        public DateTime UpdateDate
        {
            get
            {
                return this.DatUpdateDate;
            }
            set
            {
                this.DatUpdateDate = value;
            }
        }
    }
}

